<?php
include('../mysqli_connect.php');
$teamId = $_GET['teamId'];
$sql = "delete from team where team_id={$teamId}";
$res = mysqli_query($dbc, $sql);
if ($res) {
  $response = array('status' => true, 'message' => '删除队伍成功', 'data' => $res);
  echo json_encode($response);
} else {
  $response = array('status' => false, 'message' => '删除球队失败');
  echo json_encode($response);
}
